#pragma once
#include<iostream>
#include<cstdlib>	//Needed to use the exit function
#include "worker.h"
#include "Boss.h"
#include "employee.h"
#include "manager.h"
#include<fstream>
#define FILENAME "empfile.txt"
using namespace std;

class WorkerManager
{
public:
	WorkerManager();

	void show_Menu();

	void exitSystem();

	void Add_Emp();

	int m_EmpNum;

	Worker** m_EmpArray;

	void save();

	bool m_FileIsEmpty;

	int get_EmpNum();

	void init_EmpArray();

	void Show_Emp();

	int IsExist(int id);

	void Del_Emp();

	void Mod_Emp();

	void Find_Emp();

	void Sort_Emp();

	void Clear_File();

	~WorkerManager();
};
